package cc.lzmsh.service;

import cc.lzmsh.pojo.User;
import cc.lzmsh.pojo.dto.LoginDTO;
import cc.lzmsh.pojo.dto.RegisterDTO;
import cc.lzmsh.pojo.result.Result;

/**
 * Author:   msh
 * Date:     2024/9/25 下午2:35
 * Description:
 */


public interface UserService {

    Result register(RegisterDTO registerDTO);

    Result login(LoginDTO loginDTO);

    User getUserInfo();

    Result updateUserInfo(User user);

    User findByUserName(String username);

    Result updatePwd(String newPwd);
}
